package com.dnndo.common.core.domain.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 忘记密码接参实体
 */
@Data
@ApiModel(value = "忘记密码接参实体")
public class ForgetPwdDTO {
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank(message = "手机号不可为空")
    private String phone;
    /**
     * 短信验证码
     */
    @ApiModelProperty(value = "短信验证码", required = true)
    @NotBlank(message = "短信验证码不可为空")
    private String smsCode;
    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", required = true)
    @NotBlank(message = "密码不可为空")
    private String password;
}
